package cn.edu.hrbcu.es.invigilatemanagerment.service;

import cn.edu.hrbcu.es.invigilatemanagerment.pojo.Teacher;

import java.util.List;

public interface ITeacherService {
    List<Teacher> queryAllTeacher();
    Teacher queryTeacherById(Integer id);
    Integer insertTeacher(Teacher teacher);
    Integer deleteTeacherById(Integer id);
    Integer updateTeacherById(Teacher teacher);
    List<Teacher> queryTeacherByUsername(String username);
    List<Teacher> queryTeacherByName(String name);
    List<Teacher> queryTeacherByUserName(String username);

    int queryTeacherCount();

    List<Teacher> queryTeacherByPage(int pageNow, int pageSize);
}
